package com.cdp.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cdp.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_water")
public class SysWater extends BaseEntity {


    @TableId(value = "water_id", type = IdType.AUTO)
    private Integer waterId;


    private String model;


    private String id;


    private Integer version;


    private Integer deleteTime;


    private Integer   regionName;

    /**
     * 地区名称 (非数据库字段)
     */
    @TableField(exist = false)
    private String regionNameStr;


}
